package com.aabte.commons.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Collection;

/**
 * @author Daniel
 * @version 1.0
 * @date 2020/4/30
 */
@Data
@Builder
@Accessors
@NoArgsConstructor
@AllArgsConstructor
public class QueryData<T> {

  private Integer total;
  private Integer pageNo;
  private Integer pageSize;
  private Collection<T> records;
}
